package com.tiancheng.trade.order.vo.app;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Map;

/**
 * @Author: likailun
 * @Description: 上报上报缓存
 * @Date: create in 2022/12/21 14:55
 */
@Getter
@Setter
public class ChannelReportCacheVO implements Serializable {
    @NotEmpty(message = "参数不允许为空")
    private Map<String,Object> args;
    /**
     * 栏目名称
     */
    @NotBlank(message = "栏目名称")
    private String columnName;
    /**
     * 栏目ID
     */
    @NotBlank(message = "栏目ID不允许为空")
    private String columnId;

    /**
     * 金额，元
     */
    private BigDecimal payAmount;
    /**
     * 支付时间
     */
    private LocalDateTime payTime;
    /**
     * 是否清空缓存
     */
    private Boolean isClearKey;
}
